AmeliaBooking\Application\Services\Reservation\AppointmentReservationService D

Total Complexity 276
Dependencies 36
Dependents 0
Total lines 1,833
Lines of code 1,190
Logical lines of code 442
Comment lines 307
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
19
48 227
book()
D
24
42 163
getPaymentAmount()
D
30 37 106
getWooCommerceData()
C
29
27 120
updateStatus()
B
35 18 87
checkLimitsPerCustomer()
A
46 15 39
getReservationByPayment()
A
34 10 98
manageTaxes()
A
44 12 47
updateWooCommerceOrder()
A
49 10 32
getWooCommerceDataFromArray()
A
40 7 63
getBookingResultByBookingId()
A
40 7 62
getProvidersPaymentAmount()
A
53 8 21
hasDoubleBookings()
S
56 7 19
getCustomFieldsJsonForService()
S
57 6 16
isDoubleBooking()
S
51 5 28
getBookingPeriods()
S
54 5 21
getReservationPaymentAmount()
S
63 4 10
getAppointmentPaymentAmount()
S
61 2 13
isExtraAggregatedPrice()
S
75 2 4
isAggregatedPrice()
S
81 1 3
getBookableEntity()
S
74 1 4
getReservationByBookingId()
S
75 1 4
getType()
S
82 1 3